package ipebg.mzk.facade.system.service;

import ipebg.mzk.common.util.Page;
import ipebg.mzk.facade.entity.MsFile;

import java.util.List;

public interface MsFileService {
	MsFile findFile(String id)throws Exception;
	void batchSave(List<MsFile> files)throws Exception;
	void save(MsFile fileObj) throws Exception;
	void update(MsFile fileObj) throws Exception;
	void delete(MsFile fileObj) throws Exception;
	List<MsFile> getAll() throws Exception;
	Page getFiles(String realFileName, int from, int length) throws Exception;
	boolean batchDeleteFiles(List<MsFile> files) throws Exception;
}
